package com.vue.power.backend.sys.dto;

import java.util.List;

public class OrganizationalStructureDto {

    private String orgId;
    // 菜单名字
    private String title;

    private String orgCode;

    private String orgImg;

    private String orgContacts;

    private String contactsPhone;

    private Integer orgNum;

    private Integer orgPayroll;

    private String orgParentId;

    private String orgParentName;

    // 默认子节点都是展开的
    private boolean expand = true;
    // 默认节点是没有选中的
    private boolean checked = false;

    private List<OrganizationalStructureDto> children;

    public boolean isExpand() {
        return expand;
    }

    public void setExpand(boolean expand) {
        this.expand = expand;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgImg() {
        return orgImg;
    }

    public void setOrgImg(String orgImg) {
        this.orgImg = orgImg;
    }

    public String getOrgContacts() {
        return orgContacts;
    }

    public void setOrgContacts(String orgContacts) {
        this.orgContacts = orgContacts;
    }

    public String getContactsPhone() {
        return contactsPhone;
    }

    public void setContactsPhone(String contactsPhone) {
        this.contactsPhone = contactsPhone;
    }

    public Integer getOrgNum() {
        return orgNum;
    }

    public void setOrgNum(Integer orgNum) {
        this.orgNum = orgNum;
    }

    public Integer getOrgPayroll() {
        return orgPayroll;
    }

    public void setOrgPayroll(Integer orgPayroll) {
        this.orgPayroll = orgPayroll;
    }

    public String getOrgParentId() {
        return orgParentId;
    }

    public void setOrgParentId(String orgParentId) {
        this.orgParentId = orgParentId;
    }

    public String getOrgParentName() {
        return orgParentName;
    }

    public void setOrgParentName(String orgParentName) {
        this.orgParentName = orgParentName;
    }

    public List<OrganizationalStructureDto> getChildren() {
        return children;
    }

    public void setChildren(List<OrganizationalStructureDto> children) {
        this.children = children;
    }
}
